//
// Created by wangwanlong on 2024/11/1.
//

#ifndef MKAHYPAR_RATING_PARTITION_POLICY_H
#define MKAHYPAR_RATING_PARTITION_POLICY_H
#include "mkahypar/utils/typedef.h"
#include "mkahypar/utils/macros.h"
#include "mkahypar/utils/policy_registry.h"
namespace mkahypar{
  class NormalPartitionPolicy final : public meta::PolicyBase {
  public:
    MKAHYPAR_ATTRIBUTE_ALWAYS_INLINE static inline bool accept(const Hypergraph& hg,
                                                              const HypernodeID& u,
                                                              const HypernodeID& v) {
      return hg.partID(u) == hg.partID(v);
    }
  };
}
#endif //MKAHYPAR_RATING_PARTITION_POLICY_H
